package com.kob.backend.consumer.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Player {
    private Integer id;
    private Integer botId;//这如果是-1代表手动玩，否则表示AI代打
    private String botCode;
    private Integer sx;
    private Integer sy;
    private Integer send_message;//记录传输了多少条信息

    private List<Integer> steps;

    public  String getStepsString(){
        StringBuilder res = new StringBuilder();
        for(int d:steps){
            res.append(d);
        }
        return res.toString();
    }

}
